package com.qf.administration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 司机管理
 */
@Data
@TableName(value = "driver_manage")
public class DriverManage {
    public static final String COL_USER_ID = "user_id";
    public static final String COL_USERNAME = "username";
    public static final String COL_TELEPHONE = "telephone";
    public static final String COL_SEX = "sex";
    public static final String COL_WORK_TYPE = "work_type";
    public static final String COL_DRIVER_NUMBER = "driver_number";
    public static final String COL_OPERATOR = "operator";
    public static final String COL_CREATE_TIME = "create_time";
    public static final String COL_STATUS = "status";
    @TableId(value = "user_id", type = IdType.INPUT)
    private Integer userId;
    /**
     * 工作类型：1.全职；2.兼职；3.其他
     */
    @TableField(value = "work_type")
    private String workType;
    /**
     * 驾驶证号
     */
    @TableField(value = "driver_number")
    private String driverNumber;
    @TableField(value = "`operator`")
    private String operator;
    @TableField(value = "create_time")
    private Date createTime;
    /**
     * 0：删除；1：存在
     */
    @TableField(value = "`status`")
    private Integer status;
}